-
Notifications
You must be signed in to change notification settings - Fork 10
feat: location script #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
scripts/locationCRUD.tsx
Outdated
| * | ||
| * Operations: | ||
| * create <hubName> <hubType> <locationType> <address> | ||
| * Example: npm run location -- create "Main Hub" ESTABLISHMENT ROOFTOP "123 Main St, City, State 12345" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Repeat this for multiple locations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Batch insert through yaml list
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@natalierobbins tagging for visibility.
|
@natalierobbins: Reminder to push the yaml file. |
- resolves absolute import statements - IDE recognizes node packages
* feat: location script * bulk import options * refactor: moved location CRUD script to server/src - resolves absolute import statements - IDE recognizes node packages * remove: old location crud file --------- Co-authored-by: Anant Mittal <anmittal@uw.edu>
* fix: Client CASL (#138) * fix: client casl * simplyify survey fetch * simplify fetch and normalize function * review: add comments for Natalie * deserialization updates * timezone handling updates * refactor: consolidate useApi * refactor: update signup page with api response structure * refactor: mc --------- Co-authored-by: Anant Mittal <anmittal@uw.edu> * feat: location script (#137) * feat: location script * bulk import options * refactor: moved location CRUD script to server/src - resolves absolute import statements - IDE recognizes node packages * remove: old location crud file --------- Co-authored-by: Anant Mittal <anmittal@uw.edu> * Timezone Fixes (#153) * fix: client-side permission checks will always use Pacific timezone regardless of the server TIMEZONE configuration, potentially causing inconsistencies between client and server permission evaluations * Update client/src/hooks/useAbility.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update server/.env.example Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update client/src/components/forms/LocationSelect.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * revert: gh copilot fix * refactor: move all scripts to server folder --------- Co-authored-by: Natalie Robbins <102693174+natalierobbins@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
π Description
Added location CRUD script:
Screen.Recording.2025-12-04.at.6.49.04.PM.mov
β Checklist
π Related Issues
π‘ Type of change
π§ͺ How to test
See usage tutorial at top of script
π Notes to reviewers